set MYSQL_HOME=C:\Program Files\MySQL\MySQL Server 5.1

cd /d %~dp0

"%MYSQL_HOME%/bin/mysql" -u root -p < dbTicketing.sql
pause